package com.education.quartz.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: liftsail
 * @Date: 2022/11/22 16:03
 * @Description: 不积跬步无以至千里
 */
@Data
public class ScheduleInfoDto implements Serializable {

    @ApiModelProperty(value = "服务名称")
    private String serveName;

    //@ApiModelProperty(value = "接口地址")
    //private String interfaceAddress;

    @ApiModelProperty(value = "任务描述")
    private String descName;

    @ApiModelProperty(value = "任务名称")
    private String jobName;

    @ApiModelProperty(value = "任务组")
    private String jobGroup;

    @ApiModelProperty(value = "任务类名")
    private String jobClassName;

    @ApiModelProperty(value = "触发器名称")
    private String triggerName;

    @ApiModelProperty(value = "触发器组")
    private String triggerGroup;

    @ApiModelProperty(value = "表达式")
    private String cronExpression;

    @ApiModelProperty(value = "表达式中文")
    private String cronExpressionZH;

    @ApiModelProperty(value = "任务创建者名字")
    private String userName;

    @ApiModelProperty(value = "任务创建时间")
    private String createdTime;

    @ApiModelProperty(value = "任务更新时间")
    private String updatedTime;

    @ApiModelProperty(value = "触发器描述")
    private String triggerDescription;

    /**
     * 状态 ：
     * NONE,
     * NORMAL,
     * PAUSED,
     * COMPLETE,
     * ERROR,
     * BLOCKED;
     */
    @ApiModelProperty(value = "触发器状态")
    private String triggerState;

    @ApiModelProperty(value = "新触发器名称")
    private String newTriggerName;

    @ApiModelProperty(value = "新触发器组")
    private String newTriggerGroup;

    @ApiModelProperty(value = "上一次执行时间")
    private String previousFireTime;

}
